From 49879c43ebd9f36ec19f4c02fa2b121314126286 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Fri, 29 May 2026 23:44:08 +0000
Subject: style: apply biome autofixes and resolve remaining lint findings

Auto-fixed cosmetic findings (import ordering, obj["k"]->obj.k, optional
chaining, template literals, Date.now, parseInt radix, useless ternaries/
switch cases). Resolved the non-autofixable rest by hand:

- Senpy: static-only class -> object literal (no this/static reliance).
- app.html: var global shim -> window.global = window (keeps the shim,
  drops the unused-var flag).
- biome-ignore with rationale for the logout document.cookie clear and the
  holodule scrape non-null assertion.

Verified: biome check 0 diagnostics, svelte-check 0/0, 24/24 unit tests.
---
 src/routes/user/[user]/+page.svelte | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

(limited to 'src/routes/user/[user]/+page.svelte')

diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte
index bfcdd87b..771683ad 100644
--- a/src/routes/user/[user]/+page.svelte
+++ b/src/routes/user/[user]/+page.svelte
@@ -1,27 +1,27 @@
 <script lang="ts">
-import Spacer from "$lib/Layout/Spacer.svelte";
-import settings from "$stores/settings";
-import ParallaxImage from "../../../lib/Image/ParallaxImage.svelte";
-import { typeSchedule, type ParseResult } from "$lib/Hololive/hololive";
-import HeadTitle from "$lib/Home/HeadTitle.svelte";
-import Message from "$lib/Loading/Message.svelte";
-import { estimatedDayReading } from "$lib/Media/Manga/time";
-import Skeleton from "$lib/Loading/Skeleton.svelte";
-import root from "$lib/Utility/root";
-import locale from "$stores/locale";
+import SvelteMarkdown from "@humanspeak/svelte-markdown";
 import { onMount } from "svelte";
+import { graphql } from "$houdini";
+import { parseScheduleHtml } from "$lib/Data/hololive";
 import authorisedUsers from "$lib/Data/Static/authorised.json";
-import tooltip from "$lib/Tooltip/tooltip";
 import AnimeRateLimited from "$lib/Error/AnimeRateLimited.svelte";
-import identity from "$stores/identity";
+import { type ParseResult, typeSchedule } from "$lib/Hololive/hololive";
+import HeadTitle from "$lib/Home/HeadTitle.svelte";
+import Spacer from "$lib/Layout/Spacer.svelte";
+import Message from "$lib/Loading/Message.svelte";
+import Skeleton from "$lib/Loading/Skeleton.svelte";
+import MarkdownLink from "$lib/MarkdownLink.svelte";
+import { estimatedDayReading } from "$lib/Media/Manga/time";
 import SettingHint from "$lib/Settings/SettingHint.svelte";
+import LinkedTooltip from "$lib/Tooltip/LinkedTooltip.svelte";
+import tooltip from "$lib/Tooltip/tooltip";
 import proxy from "$lib/Utility/proxy";
-import { parseScheduleHtml } from "$lib/Data/hololive";
+import root from "$lib/Utility/root";
+import identity from "$stores/identity";
+import locale from "$stores/locale";
+import settings from "$stores/settings";
 import type { Preferences } from "../../../graphql/$types";
-import SvelteMarkdown from "@humanspeak/svelte-markdown";
-import MarkdownLink from "$lib/MarkdownLink.svelte";
-import LinkedTooltip from "$lib/Tooltip/LinkedTooltip.svelte";
-import { graphql } from "$houdini";
+import ParallaxImage from "../../../lib/Image/ParallaxImage.svelte";
 import type { PageData } from "./$types";
 
 export let data: PageData;
@@ -118,7 +118,7 @@ const setBadgeWallCSSQuery = graphql(`
 $: userData = data.userData;
 
 let error = false;
-let schedule: ParseResult | undefined = undefined;
+let schedule: ParseResult | undefined;
 let draggedCategory: string | null = null;
 let draggedOverCategory: string | null = null;
 
-- 
cgit v1.2.3

